package com.myex.demo.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class Goods implements Serializable {

    /**
     * `goods_name` VARCHAR ( 64 ) DEFAULT NULL COMMENT '商品名称',
     * `goods_title` VARCHAR ( 64 ) DEFAULT NULL COMMENT '商品标题',
     * `goods_img` VARCHAR ( 64 ) DEFAULT NULL COMMENT '商品图片',
     * `goods_detail` VARCHAR ( 128 ) DEFAULT NULL COMMENT '商品详情',
     * `goods_price` DECIMAL ( 10, 2 ) DEFAULT '0.00' COMMENT '商品单价',
     * `goods_stock` INT ( 11 ) DEFAULT '0' COMMENT '商品库存，-1表示没有限制',
     * `create_time` datetime DEFAULT NULL,
     * `update_time` datetime DEFAULT NULL,
     *  PRIMARY KEY ( `id` )
     */

    private int id;
    private String goodsName;
    private String goodsTitle;
    private String goodsImg;
    private String goodsDetail;
    private BigDecimal goodsPrice;
    private int goodsStock;
    private Date createTime;
    private Date updateTime;
    private String goods_name;

    public String getGoods_name() {
        return goods_name;
    }

    public void setGoods_name(String goods_name) {
        this.goods_name = goods_name;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getGoodsTitle() {
        return goodsTitle;
    }

    public void setGoodsTitle(String goodsTitle) {
        this.goodsTitle = goodsTitle;
    }

    public String getGoodsImg() {
        return goodsImg;
    }

    public void setGoodsImg(String goodsImg) {
        this.goodsImg = goodsImg;
    }

    public String getGoodsDetail() {
        return goodsDetail;
    }

    public void setGoodsDetail(String goodsDetail) {
        this.goodsDetail = goodsDetail;
    }

    public BigDecimal getGoodsPrice() {
        return goodsPrice;
    }

    public void setGoodsPrice(BigDecimal goodsPrice) {
        this.goodsPrice = goodsPrice;
    }

    public int getGoodsStock() {
        return goodsStock;
    }

    public void setGoodsStock(int goodsStock) {
        this.goodsStock = goodsStock;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}
